/**
 * Author: w景洋.
 * Time: 2016/9/5 0005
 */
angular.module('common.shopmenu', [
        'ui.router',
        'ngStorage',
        'ngCookies',

        //'directive',
    ])
    .run(
        ['$rootScope', '$state', '$stateParams',
            function ($rootScope, $state, $stateParams) {
                $rootScope.$state = $state;
                $rootScope.$stateParams = $stateParams;
            }
        ]
    )

    .config(
        ['$stateProvider', '$urlRouterProvider', '$locationProvider',
            function ($stateProvider, $urlRouterProvider, $locationProvider) {
                $urlRouterProvider.otherwise('/store/977534855?appid=wx277ac1ea258fab7a&deskid=1&scope=true');
                $locationProvider.html5Mode(html5mode);
            }
        ]
    );